package com.zhangjq.abstractfacotry;

import com.zhangjq.common.IPay;
import com.zhangjq.common.IRepay;
import com.zhangjq.common.TencentIPay;
import com.zhangjq.common.TencentRepay;

/**
 * Created by Administrator on 2019/3/9 0009.
 */
public class TencentFactory implements IFactory {
    @Override
    public IPay createPay() {
        return new TencentIPay();
    }

    @Override
    public IRepay createRepay() {
        return new TencentRepay();
    }
}
